package com.wzx.data.entity;
import com.wzx.basics.baseClass.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * <p>
 * 章节表
 * </p>
 *
 * @author wzx
 * @since 2023-03-20
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "a_chapter")
@TableName("a_chapter")
@ApiModel(value = "章节")
public class Chapter extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 课程ID
     */
    private String courseId;

    /**
     * 章节名称
     */
    private String title;

    /**
     * 显示排序
     */
    private Integer sort;

}